package org.zhaya.sdk.processors.custom;


import io.logz.sawmill.Doc;

/**
 * Interface that plugin class should implement;
 * <p>
 * used for js cast to java Interface.
 */
public interface PluginProcess {
    /**
     * @param
     * @return as doc has final field :source
     * you can only modify kvs in sourceMap, you can't replace sourceMap.
     * so only Doc is permitted.
     */
    void process(Doc doc) throws Exception;
}
